import { axios } from '@/utils/request'

const api = {
  houseOrderList: '/frontDeskWeb/hoperators/houseOrderList', //  初始化查询
  getHouseOrders: '/frontDeskWeb/hoperators/getHouseOrders' //  按条件查询
}

export default api

export function houseOrderList (parameter) {
  return axios({
    url: api.houseOrderList,
    method: 'post',
    data: parameter
  })
}
export function houseOrders (parameter) {
  return axios({
    url: api.getHouseOrders,
    method: 'post',
    data: parameter
  })
}
